package br.com.atid.util
{
	import flash.net.SharedObject;
	
	public class LocalRepositorio
	{
		private var so: SharedObject = SharedObject.getLocal('temp', '/');
		public function LocalRepositorio()
		{
			
		}
		
		public function ler(nome: String): *
		{
			return so.data[nome];
		}
		
		public function salvar (nome: String, values:*):void
		{
			so.data[nome] = values;
			so.flush();
		}
	}
}